﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using MyBlog.Model;

namespace MyBlog.ServiceInterface
{
    public interface ITagService
    {
        void Add(TagModel entity);

        void Update(TagModel entity);

        void Delete(TagModel model);

        void Delete(params object[] primaryKey);

        TagModel Get(TagModel model);

        List<TagModel> GetAll(bool isTracking = true);

        List<TagModel> GetAll(TagModel model, bool isTracking = true);
    }
}
